package com.dwd.hrm.mapper;

import com.dwd.hrm.domain.LoginUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author wendi
 * @since 2021-03-05
 */
@Repository
public interface LoginUserMapper extends BaseMapper<LoginUser> {
    void addUserMeal(@Param("userId") Long userId, @Param("mealId") Long mealId);

    LoginUser selectByUsername(String username);
}
